package com.pojo;

import java.util.Date;
import java.io.Serializable;
import java.util.logging.SimpleFormatter;

import com.util.Util;
import lombok.Data;
import org.codehaus.jackson.annotate.JsonIgnoreProperties;

/**
 * (Userdetailed)实体类
 *
 * @author makejava
 * @since 2022-09-09 15:56:57
 */
@Data
@JsonIgnoreProperties(value = {"handler"})
public class Userdetailed implements Serializable {
    private static final long serialVersionUID = -72068668385147737L;
    
    private Long userid;
    
    private String name;
    
    private String sex;
    
    private Date birthday;
    
    private String address;
    
    private Long deparid;
    
    private Integer deleted;
    
    private Integer version;
    
    private String email;
    
    private String phone;
    
    private String headPicUrl;

    public String getBirthdayStr(){
        return Util.date4String(this.birthday);
    }
    public void setBirthdayStr(String timeStr){
        this.birthday = Util.dateStr4Date(timeStr);
    }


}

